from flask import Flask

from applications.view.admin.admin_log import admin_log
from applications.view.admin.dict import admin_dict
from applications.view.admin.emergency import admin_emergency
from applications.view.admin.fight import admin_fight
from applications.view.admin.index import admin_bp
from applications.view.admin.file import admin_file
from applications.view.admin.message_push import admin_message_push
from applications.view.admin.power import admin_power
from applications.view.admin.role import admin_role
from applications.view.admin.run import admin_run
from applications.view.admin.user import admin_user
from applications.view.admin.monitor import admin_monitor_bp
from applications.view.admin.task import admin_task
from applications.view.admin.fire import admin_fire
from applications.view.admin.emo import admin_emo
from applications.view.admin.res import admin_res
from applications.view.admin.act import admin_act
from applications.view.admin.atk_def import admin_atk_def_bp
from applications.view.admin.sim_menu import admin_sim_menu
from applications.view.admin.atkdef import admin_atkdef
from applications.view.admin.earthquake import admin_earthquake
from applications.view.admin.credible import admin_credible
from applications.view.admin.idata import idata_bp
from applications.view.admin.fire_sim import admin_fire_sim_bp
from applications.view.admin.infect import admin_infect_bp
from applications.view.admin.admin_criminal_info import admin_criminal_info_bp
from applications.view.emergency.equipment.monitor_equip_list import monitor_equip_list_bp
from applications.view.admin.atkdef_scene import admin_atkdef_scene
from applications.view.admin.scene_show import admin_scene_show
from applications.view.admin.scene_realtime import admin_scene_realtime
from applications.view.admin.scene_trainreport import trainreport_bp
from applications.view.admin.scene_homepage import admin_scene_homepage
from applications.view.admin.equipments_api import equipments_api

from applications.view.admin.train_show import admin_trainshow
from applications.view.admin.train_score import admin_trainscore
from applications.view.admin.equipment import admin_equipment
from applications.view.admin.scene import admin_scene
from applications.view.admin.scene_interaction import admin_scene_interaction
from applications.view.admin.train_data import admin_traindata
from applications.view.admin.emerg_select import emerg_select_bp
# 我的新增
from applications.view.admin.psych import psych_bp
from applications.view.admin.police import police_monitor
from applications.view.admin.psych_realtime import admin_psych_realtime

from applications.view.admin.timetable_homepage import admin_timetable_homepage

def register_admin_views(app: Flask):
    app.register_blueprint(admin_bp)
    app.register_blueprint(admin_user)
    app.register_blueprint(admin_file)
    app.register_blueprint(admin_monitor_bp)
    app.register_blueprint(admin_log)
    app.register_blueprint(admin_power)
    app.register_blueprint(admin_role)
    app.register_blueprint(admin_dict)
    app.register_blueprint(admin_task)
    app.register_blueprint(admin_fire)
    app.register_blueprint(admin_emo)
    app.register_blueprint(admin_res)
    app.register_blueprint(admin_act)
    app.register_blueprint(admin_atkdef)

    app.register_blueprint(admin_earthquake)
    app.register_blueprint(admin_run)
    app.register_blueprint(admin_fight)
    app.register_blueprint(admin_atk_def_bp)
    app.register_blueprint(admin_sim_menu)
    app.register_blueprint(admin_credible)
    app.register_blueprint(admin_fire_sim_bp)
    app.register_blueprint(admin_infect_bp)
    app.register_blueprint(idata_bp)
    app.register_blueprint(monitor_equip_list_bp)
    app.register_blueprint(admin_criminal_info_bp)
    app.register_blueprint(admin_atkdef_scene)  # 情景训练管理
    app.register_blueprint(admin_scene_show)  # 情景训练展示
    app.register_blueprint(admin_scene_realtime)  # 训练实时展示
    app.register_blueprint(trainreport_bp)  # 训练报告展示
    app.register_blueprint(admin_scene_homepage)  # 警员训练主页
    app.register_blueprint(equipments_api)
    app.register_blueprint(admin_trainshow)
    app.register_blueprint(admin_trainscore)
    app.register_blueprint(admin_equipment)
    app.register_blueprint(admin_scene)
    app.register_blueprint(admin_scene_interaction)
    app.register_blueprint(admin_traindata)
    app.register_blueprint(emerg_select_bp)

# 我的新增
    app.register_blueprint(psych_bp)
    app.register_blueprint(police_monitor)
    app.register_blueprint(admin_psych_realtime)

    app.register_blueprint(admin_timetable_homepage)

    # 消息推送接口
    app.register_blueprint(admin_message_push)

    #课题四设备页面

    # 应急演练接口
    app.register_blueprint(admin_emergency)


